<!DOCTYPE html>
<html>
<head>
    <title>岐山手工擀面皮</title>
    <link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="all"/>
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="js/jquery.min.js"></script>
    <!-- Custom Theme files -->
    <!--theme-style-->
    <link href="css/style.css" rel="stylesheet" type="text/css" media="all"/>
    <!--//theme-style-->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

    <meta name="keywords" content="百度地图,百度地图API，百度地图自定义工具，百度地图所见即所得工具" />
    <meta name="description" content="百度地图API自定义地图，帮助用户在可视化操作下生成百度地图" />
    <!--引用百度地图API-->
    <style type="text/css">
        html,body{margin:0;padding:0;}
        .iw_poi_title {color:#CC5522;font-size:14px;font-weight:bold;overflow:hidden;padding-right:13px;white-space:nowrap}
        .iw_poi_content {font:12px arial,sans-serif;overflow:visible;padding-top:4px;white-space:-moz-pre-wrap;word-wrap:break-word}
    </style>
    <script type="text/javascript" src="http://api.map.baidu.com/api?key=&v=1.1&services=true"></script>

    <meta name="keywords" content="Food shop Responsive web template, Bootstrap Web Templates, Flat Web Templates, Andriod Compatible web template,
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design"/>
    <script type="application/x-javascript"> addEventListener("load", function () {
        setTimeout(hideURLbar, 0);
    }, false);
    function hideURLbar() {
        window.scrollTo(0, 1);
    } </script>
    <!--fonts-->
    <link href='http://fonts.useso.com/css?family=Rokkitt:400,700' rel='stylesheet' type='text/css'>
    <link href='http://fonts.useso.com/css?family=Lobster+Two:400,400italic,700,700italic' rel='stylesheet'
          type='text/css'>
    <!--//fonts-->
    <script type="text/javascript" src="js/move-top.js"></script>
    <script type="text/javascript" src="js/easing.js"></script>
    <script type="text/javascript">
        jQuery(document).ready(function ($) {
            $(".scroll").click(function (event) {
                event.preventDefault();
                $('html,body').animate({scrollTop: $(this.hash).offset().top}, 1000);
            });
        });
    </script>

</head>
<body>
<!--header-->
<div class="header-in">
    <div class="container">
        <div class="logo">
            <h1><a href="index.html">岐山手工擀面皮</a></h1>
        </div>
        <div class="header-top">
            <div class="header-top-in">
                <ul class="header-grid">
                    <!--<li><a href="account.html">My Account </a> <label>/</label></li>-->
                    <!--<li><a href="login.html"> Login </a></li>-->
                </ul>
                <div class="act">
                    <a href="#" class="done">岐山 美食 </a>
                </div>
                <div class="clearfix"></div>
            </div>
            <ul class="grid-header">
                <!--<li><a href="account.html">My Account</a> <label>/</label></li>-->
                <!--<li><a href="#">My Cart</a> <label>/</label></li>-->
                <!--<li><a href="checkout.html"> Checkout </a></li>-->
            </ul>
            <div class="clearfix"></div>
        </div>
        <!---->
        <div class="header-bottom">
            <div class="top-nav">
                <span class="menu"> </span>
                <ul>
                    <li ><a href="index.html">主页 </a><label>- </label></li>
                    <li><a href="location.html"> 位置</a><label>- </label></li>
                    <li><a href="specials.html">特价 </a><label>- </label></li>
                    <li><a href="404.html"> 在线订购</a><label>- </label></li>
                    <li class="active"><a href="contact.html">联系方式</a></li>
                </ul>
                <!--script-->
                <script>
                    $("span.menu").click(function () {
                        $(".top-nav ul").slideToggle(500, function () {
                        });
                    });
                </script>
            </div>
            <div class="search">
                <form>
                    <input type="text" value="点击搜索..." onfocus="this.value = '';"
                           onblur="if (this.value == '') {this.value = '';}">
                    <input type="submit" value="">
                </form>
            </div>
            <div class="clearfix"></div>
        </div>
        <!---->
    </div>
</div>
<!---->
<div class="container">
    <div class="contact">
        <div class="contact-in">
            <h2>联系方式</h2>
            <div class=" col-md-9 contact-left">

                <form>
                    <div>
                        <span>姓名</span>
                        <input name="userName" type="text" class="textbox">
                    </div>
                    <div>
                        <span>邮箱</span>
                        <input name="userEmail" type="text" class="textbox">
                    </div>
                    <div>
                        <span>主题</span>
                        <textarea name="userMsg"> </textarea>
                    </div>
                    <div>
                        <span><input type="submit" value="提交"></span>
                    </div>
                </form>
            </div>

            <div class=" col-md-3 contact-right">
                <h5>岐山擀面皮西安店</h5>
                <p>陕西省 西安市 雁塔区,</p>
                <p>科技五路20号,</p>
                <p>西安</p>
                <p>电话:18829329092</p>
                <p>电话:13991094505</p>
                <p>邮箱: <a href="mailto:YougaKingWu@gmail.com">YougaKingWu@gmail.com</a></p>
                <!--<p>Follow on: <a href="#">Facebook</a>, <a href="#">Twitter</a></p>-->
            </div>
            <div class="clearfix"></div>
        </div>

        <!--<div class="map" >-->
            <!--<img  width="798" height="178" src="http://api.map.baidu.com/staticimage/v2?ak=THMKVY2GFDKFGuTpyPHlxstPYXamVaTG&mcode=666666&referer=*&width=798&height=178&center=108.886883,34.222968&zoom=17&markers=108.866782,34.21745|108.885709,34.222494&markerStyles=l,0|l,"/>-->
        <!--</div>-->
        <!--百度地图容器-->
        <div style="width:1113px;height:200px;border:#ccc solid 1px;" id="dituContent"></div>
    </div>
</div>

<script type="text/javascript">
    //创建和初始化地图函数：
    function initMap(){
        createMap();//创建地图
        setMapEvent();//设置地图事件
        addMapControl();//向地图添加控件
        addMarker();//向地图中添加marker
    }

    //创建地图函数：
    function createMap(){
        var map = new BMap.Map("dituContent");//在百度地图容器中创建一个地图
        var point = new BMap.Point(108.885563,34.222386);//定义一个中心点坐标
        map.centerAndZoom(point,17);//设定地图的中心点和坐标并将地图显示在地图容器中
        window.map = map;//将map变量存储在全局
    }

    //地图事件设置函数：
    function setMapEvent(){
        map.enableDragging();//启用地图拖拽事件，默认启用(可不写)
        map.enableScrollWheelZoom();//启用地图滚轮放大缩小
        map.enableDoubleClickZoom();//启用鼠标双击放大，默认启用(可不写)
        map.enableKeyboard();//启用键盘上下左右键移动地图
    }

    //地图控件添加函数：
    function addMapControl(){
        //向地图中添加缩放控件
        var ctrl_nav = new BMap.NavigationControl({anchor:BMAP_ANCHOR_TOP_RIGHT,type:BMAP_NAVIGATION_CONTROL_SMALL});
        map.addControl(ctrl_nav);
        //向地图中添加缩略图控件
        var ctrl_ove = new BMap.OverviewMapControl({anchor:BMAP_ANCHOR_BOTTOM_RIGHT,isOpen:0});
        map.addControl(ctrl_ove);
        //向地图中添加比例尺控件
        var ctrl_sca = new BMap.ScaleControl({anchor:BMAP_ANCHOR_BOTTOM_LEFT});
        map.addControl(ctrl_sca);
    }

    //标注点数组
    var markerArr = [{title:"岐山擀面皮",content:"陕西省雁塔区科技五路20号岐山擀面皮 咨询电话18829329092/13991094505",point:"108.885967|34.222588",isOpen:0,icon:{w:21,h:21,l:0,t:0,x:6,lb:5}}
    ];
    //创建marker
    function addMarker(){
        for(var i=0;i<markerArr.length;i++){
            var json = markerArr[i];
            var p0 = json.point.split("|")[0];
            var p1 = json.point.split("|")[1];
            var point = new BMap.Point(p0,p1);
            var iconImg = createIcon(json.icon);
            var marker = new BMap.Marker(point,{icon:iconImg});
            var iw = createInfoWindow(i);
            var label = new BMap.Label(json.title,{"offset":new BMap.Size(json.icon.lb-json.icon.x+10,-20)});
            marker.setLabel(label);
            map.addOverlay(marker);
            label.setStyle({
                borderColor:"#808080",
                color:"#333",
                cursor:"pointer"
            });

            (function(){
                var index = i;
                var _iw = createInfoWindow(i);
                var _marker = marker;
                _marker.addEventListener("click",function(){
                    this.openInfoWindow(_iw);
                });
                _iw.addEventListener("open",function(){
                    _marker.getLabel().hide();
                })
                _iw.addEventListener("close",function(){
                    _marker.getLabel().show();
                })
                label.addEventListener("click",function(){
                    _marker.openInfoWindow(_iw);
                })
                if(!!json.isOpen){
                    label.hide();
                    _marker.openInfoWindow(_iw);
                }
            })()
        }
    }
    //创建InfoWindow
    function createInfoWindow(i){
        var json = markerArr[i];
        var iw = new BMap.InfoWindow("<b class='iw_poi_title' title='" + json.title + "'>" + json.title + "</b><div class='iw_poi_content'>"+json.content+"</div>");
        return iw;
    }
    //创建一个Icon
    function createIcon(json){
        var icon = new BMap.Icon("http://app.baidu.com/map/images/us_mk_icon.png", new BMap.Size(json.w,json.h),{imageOffset: new BMap.Size(-json.l,-json.t),infoWindowOffset:new BMap.Size(json.lb+5,1),offset:new BMap.Size(json.x,json.h)})
        return icon;
    }

    initMap();//创建和初始化地图
</script>

<!---->
<div class="footer">
    <div class="container">
        <div class="col-md-8 footer-bottom ">
            <h4>岐山擀面皮西安店 </h4>
            <p>陕西省雁塔区科技五路20号岐山擀面皮 <br /> 咨询电话18829329092/13991094505</p>
            <p class="footer-grid">&copy; 2016.Design by
                <a href="https://yougaking.github.io/" title="YougaKing" target="_blank">YougaKing</a></p>

        </div>
        <div class="col-md-4 footer-bottom ">
            <h4>QiShan Noodle</h4>
            <ul class="social-icons">
                <li><a href="#"><span> </span> </a></li>
                <li class="tin"><a href="#"><span> </span></a></li>
                <li class="linked"><a href="#"><span> </span> </a></li>
            </ul>
        </div>
        <div class="clearfix"></div>
    </div>
</div>
<script type="text/javascript">
    $(document).ready(function () {
        /*
         var defaults = {
         containerID: 'toTop', // fading element id
         containerHoverID: 'toTopHover', // fading element hover id
         scrollSpeed: 1200,
         easingType: 'linear'
         };
         */

        $().UItoTop({easingType: 'easeOutQuart'});

    });
</script>
<a href="#" id="toTop" style="display: block;"> <span id="toTopHover" style="opacity: 1;"> </span></a>


</body>
</html>